package cn.com.youyuan.ui;

import cn.com.youyuan.display.GraphicsProxy;
import cn.com.youyuan.models.UIContainer;
import cn.com.youyuan.models.UIElement;

public class HyperLink extends UIElement{

	private String url;
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public HyperLink(UIContainer parent, int left, int top, int width, int height)
	{
		super(parent, left, top, width, height);
	}

	protected int getMinHeight() {
		// TODO Auto-generated method stub
		return 0;
	}

	public boolean canReceiveFocus() {
		// TODO Auto-generated method stub
		return false;
	}

	public int onKeyClick(int keyCode) {
		// TODO Auto-generated method stub
		return 0;
	}

	public int onPointerDrag(int x, int y) {
		// TODO Auto-generated method stub
		return 0;
	}

	public int onPointerPress(int x, int y) {
		// TODO Auto-generated method stub
		return 0;
	}

	public int onPointerRelease(int x, int y) {
		// TODO Auto-generated method stub
		return 0;
	}

	public boolean paint(GraphicsProxy g, int offsetHeight, boolean isFocused) {
		// TODO Auto-generated method stub
		return false;
	}
	
}
